package com.biwu;

/**
 * @author 王俊彪
 * @version 1.0
 */
public class Order {
    //订单编号
    private String orderSno;
    //订单信息
    private String subject;
    //订单数量
    private Integer quantity;

    public Order() {
    }

    public Order(String orderSno, String subject, Integer quantity) {
        this.orderSno = orderSno;
        this.subject = subject;
        this.quantity = quantity;
    }

    public String getOrderSno() {
        return orderSno;
    }

    public void setOrderSno(String orderSno) {
        this.orderSno = orderSno;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "Order{" +
                "orderSno='" + orderSno + '\'' +
                ", subject='" + subject + '\'' +
                ", quantity=" + quantity +
                '}';
    }
}

